package com.doculibre.constellio.connector.twitter;

import java.util.List;
import java.util.Locale;
import java.util.Map;
import java.util.ResourceBundle;
import com.doculibre.constellio.helper.connector.type.ConnectorTypeHelper;
import com.doculibre.constellio.helper.connector.type.form.element.FormElement;

/**
 * 
 * @author France Labs
 * 
 */
public class TwitterConnectorType extends ConnectorTypeHelper{
	private ResourceBundle ressource = null;


	public TwitterConnectorType(List<FormElement> listFormElements) {
		super(listFormElements);
	}

	@Override
	protected ResourceBundle getLabelsRessource(Locale locale) {
		try {
			ressource = ResourceBundle.getBundle(
					"config/TwitterConnectorTypeRessources", locale);
		} catch (Exception e) {
			ressource = ResourceBundle
					.getBundle("config/TwitterConnectorTypeRessources");
		}
		return ressource; 
	}

	@Override
	protected String validateRelations(Map<String, String> map, Locale locale) {
		
		return "";
	}

}
